﻿@{
    ViewBag.Title = "iletisim";
    Layout = "~/Views/Shared/default_layout.cshtml";

}



<div class="center_content">
    <div class="center_title_bar">İletişim</div>
    <div class="prod_box_big">
        <div class="top_prod_box_big"></div>
        <div class="center_prod_box_big">
            <div class="contact_form">

                @ViewData["durum"]


                @{MvcForm frm = Html.BeginForm();}
                @*  <form action=..  method=post ... la aynı anlamda
                    <form action="@Url.Action("signup","Home")" method="post">
                    <form action="/" method="post">
                *@


                <div class="form_row">
                    <label class="contact"><strong>Name:</strong></label>
                    @Html.TextBox("name", null, new { placeholder = "Lütfen adınızı giriniz", cssclass = "contact_input", width = "200" })
                </div>

                <div class="form_row">
                    <label class="contact"><strong>Email:</strong></label>
                    @Html.TextBox("mail", null, new { placeholder = "Lütfen mailinizi giriniz", cssclass = "contact_input", width = "200" })

                </div>

                <div class="form_row">
                    <label class="contact"><strong>Phone:</strong></label>
                    @Html.Password("phone", null, new { placeholder = "Lütfen telefonunuzu giriniz", cssclass = "contact_input", width = "200" })
                </div>

                <div class="form_row">
                    <label class="contact"><strong>Konu:</strong></label>
                    @Html.TextBox("konu", null, new { placeholder = "Lütfen bir konu giriniz", cssclass = "contact_input", width = "200" })
                </div>


                <div class="form_row">
                    <label class="contact"><strong>Cinsiyet:</strong></label>
                    @Html.RadioButton("cinsiyet", "Erkek", new { value = "Erkek" })
                    @Html.Label("ERKEK")

                    @Html.RadioButton("cinsiyet", "Kadin", new { value = "Kadin" })
                    @Html.Label("KADIN")

                </div>







                <div class="form_row">
                    <label class="contact"><strong>Sehir Seciniz</strong></label>
                    @{
                        List<SelectListItem> selectList = new List<SelectListItem>();
                        foreach (var item in ViewBag.ulkeler as IList<elctronixMVC.Models.sehirlerulkeler>)
                        {
                            SelectListItem i = new SelectListItem();
                            i.Text = item.ulke;
                            i.Value = item.ulkeID.ToString();
                            selectList.Add(i);
                        }
                    }
                    @Html.DropDownList("ulkeler", new SelectList(selectList, "Value", "Text"));
                </div>





                <div class="form_row">
                    <label class="contact"><strong>Kullanım Sözleşmesi:</strong></label>
                    @Html.CheckBox("kabul")
                </div>








                <div class="form_row">
                    <label class="contact"><strong>Message:</strong></label>
                    @Html.TextArea("message", null, new { placeholder = "Lütfen mesajınızı giriniz", cssclass = "contact_textarea", width = "200" })
                </div>
                <div class="form_row"> <input type="submit" name="gonder" value="Gönder" /> </div>
                @{frm.Dispose();}
            </div>
        </div>
        <div class="bottom_prod_box_big"></div>
    </div>
</div>
<!-- end of center content -->